home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 917 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: cs.mu.OZ.AU!bounce-back
  2. From: "Nathan Myers, http://www.cantrip.org/" <ncm@cantrip.org>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: sample auto_ptr template
  5. Date: 29 Mar 96 18:22:55 GMT
  6. Organization: The Cantrip Cooperative
  7. Approved: fjh@cs.mu.oz.au
  8. Message-ID: <315D79CD.4F28E83E@cantrip.org>
  9. References: <gregorDp23ts.Axt@netcom.com>
  10. NNTP-Posting-Host: mundook.cs.mu.oz.au
  11. X-Original-Date: Sat, 30 Mar 1996 10:13:33 -0800
  12. Return-Path: <daemon@meeker.UCAR.EDU>
  13. X-Mailer: Mozilla 2.01 (X11; I; Linux 1.2.13 i386)
  14. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  15.     iQBFAgUBMVwqiuEDnX0m9pzZAQH9JwF+IjA/PhQ4XxeVidrGHzM2AI3MYJljGNSe
  16.     +DLmWhR7YBus0DV0catsez1jbxbuL5Q2
  17.     =WBzT
  18. Originator: fjh@mundook.cs.mu.OZ.AU
  19.  
  20. Greg Colvin wrote:
  21. > In Santa Cruz we decided to change the auto_ptr copy semantics to
  22. > allow returns of auto_ptr from functions.  Following is a simple
  23. > implementation.  It (almost) compiles with the latest Edison Design
  24. > Group front end (the template friend declaration choked it). 
  25.  
  26. I hasten to add, in defense of John Spicer's sterling reputation,
  27. that this was not a released EDG front end, but John's pre-alpha
  28. working copy (i.e., only as reliable as other peoples' released
  29. versions :-).
  30.  
  31. Nathan Myers
  32. ncm@cantrip.org
  33. ---
  34. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  35. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  36. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  37. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  38. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  39.